package com.xyz.provider.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class demoController {
    @RequestMapping("/hello")
    public String Hello(){
        return "hello,provider";
    }

    @GetMapping("/test/{name}/{xyz}")
    public String test(@PathVariable String name,@PathVariable String xyz){
        return "hello,"+name+","+xyz;
    }


}
